package com.wanmait.demo.service.impl;

import com.github.pagehelper.PageInfo;
import com.wanmait.demo.mapper.TimetableMapper;
import com.wanmait.demo.pojo.Timetable;
import com.wanmait.demo.service.TimetableService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

@Service
@Transactional(rollbackFor = Exception.class)

public class TimetableServiceimpl implements TimetableService {
    @Resource
    private TimetableMapper timetableMapper;

    @Override
    public void insert(Timetable object) {

    }

    @Override
    public void delete(Integer id) {

    }

    @Override
    public void delete(String ids) {

    }

    @Override
    public void update(Timetable object) {

    }

    @Override
    public Timetable findById(Integer id) {
        return null;
    }

    @Override
    public List<Timetable> findAll() {
        return null;
    }

    @Override
    public PageInfo<Timetable> findPage(int pageNum, int pageSize) {
        return null;
    }

    @Override
    public List<Timetable> selectalltime() {
        return timetableMapper.selectalltime();
    }

    @Override
    public Timetable selecttime(Integer repairordertime) {
        return timetableMapper.selecttime(repairordertime);
    }
}
